<?
require("config.php");

$menutype = 1;


require($rela_path . "inc/header.php");
?>
<table width="95%" border="0" align="center">
  <tr> 
    <td align="right">&nbsp; </td>
  </tr>
  <tr> 
    <td>

<?require($rela_path . "inc/addrecord.php")?>
<table width="95%" border="0">
<tr>
    <td valign="top"><?

$Query="Select code, course, name from course_schedule where id = '$id'";


$r=myQuery($Query);


?>
	
	
	
	
	
	
	
	
<table border="0">
<tr>
<td>
	
	<b>Course : <b>


	
</td>
<td>
<b><?$Course=$r[0][1];echo $Course;?></b>
	
</td>
</tr>


<tr>

<td>
	
	<b>Schedule : </b></td><td><b><?=$r[0][0]?> 
	<?
	
	
$schedule=$r[0][2];
echo $schedule;
	

$Query="SELECT id FROM course_basic WHERE name='$Course'";
$r=myQuery($Query);

$cid=$r[0][0];
	
	
	?>

	
	</b>
	
</td></tr>
</table>
	
	</td>
  </tr>


<tr>
<td align="right"><a href="../schedule/menu.php?id=<?=$cid?>"><img src="../../images/bt_course_schedule.gif" border="0"></a></td>
</tr>


</table>

<?require("list.php")?>

</td>
  </tr>
</table>
<?
require($rela_path . "inc/footer.php");
?>
